package net.moonbiter;

/**
 * Exception rappresenting a bug, uses dimilarly to an assertion
 * (but assertions can disabled and compiler complain in some situations).
 * 
 * @author ftomassetti
 */
public class BugException extends RuntimeException {
	private static final long serialVersionUID = -2187518009494750758L;

	public BugException(String desc){
		super(desc);
	}
	
	public BugException(String desc, Throwable e){
		super(desc,e);
	}
}
